    <update id="update" parameterType="${table.className?uncap_first}">
        UPDATE ${table.tableName} t
        <set>
        <#list columnList as column >
            <#if !column.isAutoIncrement || !column.isPrimaryKey>
                <if test="${column.columnJavaName} != null">
                    t.${column.columnName} =${r'#{'}${column.columnJavaName}},
                </if>
            </#if>
        </#list>
        </set>
        WHERE t.${table.primaryColumnName} = ${r'#{'}${table.primaryJavaName}}
    </update>